package com.io;

import java.io.*;

public class Others {
  public static void main(String[] args) {
      try {
          BufferedReader br = new BufferedReader(
                  new InputStreamReader(
                          new FileInputStream("/Users/edz/Desktop/BY2151-zmq/src/main/java/文稿/test.txt")));
          BufferedWriter bw = new BufferedWriter(
                  new OutputStreamWriter(
                          new FileOutputStream("/Users/edz/Desktop/BY2151-zmq/src/main/java/文稿/test1.txt")));

          // 打印字符流
          PrintStream out = new PrintStream(
                  new FileOutputStream("/Users/edz/Desktop/BY2151-zmq/src/main/java/文稿/test1.txt"),true
          );
          out.println("Hello");
      } catch (FileNotFoundException e) {
          e.printStackTrace();
      }
  }
}
